var connect = require('connect');
var http = require('http');

var app = connect();

function profile(request, response){
    console.log('User request profile');
}
function home(request, response){
    console.log('User request home');
}

app.use('/profile', profile);
app.use('/home', home);

http.createServer(app)
    .listen(8888);

console.log('Server is running .....');